home *** CD-ROM | disk | FTP | other *** search
- #include "bbs.h"
-
- int CheckForPause(void)
- {
- int stat;
-
- if(gnsflag!=1) LineCount++;
- if(gnsflag!=1&&(LineCount>=(User.LineLength?User.LineLength:22))) {
- LineCount=0;
- AEPutStr("(Pause)...More(y/n/ns)? ");
- stat=LineInput("",GSTR1,3,KEYBOARD_TIMEOUT);
-
- if(stat<0) return(stat);
- if((GSTR1[0]=='N')||(GSTR1[0]=='n')) {
- if((GSTR1[1]=='S')||(GSTR1[1]=='s')) gnsflag=1;
- else return(FAILURE);
- }
- //if(AnsiColor)
- AEPutStr("A");
- }
- return(SUCCESS);
- }
-
-